if (idlin && strstr(s, "poopy") && (strcmp(gPrefs.name, "adum"))) {
bprintf(str14);
gTold++;
}
char *cp = strstr(s, str12);
if (cp) {
cp += strlen(str12);
char *vers = "1.3";
//short b = strlen(cp);
//tprintf("%s %d", cp, b);
if (strncmp(cp, vers, strlen(vers)) || (strlen(vers) != (strlen(cp) - 1)))
tprintf("\r• You are using an old version of Fixation. The current version is %s Finger adum to get more information on downloading a new version\r", cp);
gCheckingVersion = 2;
}
return true;
}
if (lastMe)
if (!strncmp(s, str2, strlen(str2)))
if (idlin) {
bprintf(str13);
gTold++;
}
// fics% Style 12 set.
if (!gCaughtPrompt) {
char *c = strstr(s, "Style 12 set.");
if (c) {
// we've found a prompt -- let's copy it
if ((long) c - (long) s > 120)
tprintf("Choose a reasonably sized prompt, dumbass.\r");
else {
*c = 0;
strcpy(gPrompt, s);
*c = 'S';
// tprintf("Prompt is \"%s\".\r", gPrompt);
gCaughtPrompt = true;
}
}
c = strstr(s, "You are now observing game");
if (c && c != s) {
if ((long) c - (long) s > 120)
tprintf("Choose a reasonably sized prompt, toecheese.\r");
else {
*c = 0;
strcpy(gPrompt, s);
*c = 'Y';
gCaughtPrompt = true;
// tprintf("Prompt is %s.\r", gPrompt);
// now advance the buffer so the observe can be caught later
s = c; // it works! ;-j
}
}
}
// Position of stored game
i = 0;
if (gPrefs.smartClose && looking_at(s, &i, "Position of stored game")) {
gLookinAtStorage = true;
return false;
}
// "adum" is a registered name. If it is yours, type the password.
// "adumm" is not a registered name.
i = 0;
if (!gSetStyle && looking_at(s, &i, "\"*\" is not a registered name.")) {
gNeedPassword = false;
bprintf("\n"); // like hit return to enter as . . .
PrintConnectString();
gSetStyle = true;
return false;
}
// {Game 92 (WhiteLotuz vs. Shujima) Creating unrated blitz match.}
// Present company includes: Krak.
// Sanborn(24): this is the BUGHOUSE hannel
// clean up after illegal moves
if (looking_at(s, &i, "Illegal move"))
bprintf("refresh\n");
// game 73 white [NR] black [B]
// <b1> game 73 white [NNR] black [B]
// if (looking_at(buf, &i, "Entering examine mode for game *.") ||
// looking_at(buf, &i, "has made you an examiner of game *.")) {
// Your opponent has added 60 seconds to your clock.
i = 0;
if (looking_at(s, &i, "Your opponent has added * seconds to your clock.")) {
bprintf("refresh\n");
}
// You are now observing game 5.
// You are now observing game 29.
/* if (strstr(s, "You are now observing game ")) {